package edu.mit.compilers.assembly.x64.codes;

import edu.mit.compilers.assembly.x64.basic.X64Operand;

public class X64PopCode extends X64Code {
    private final X64Operand src;
    public X64PopCode(X64Operand src) {
        this.src = src;
    }

    @Override
    protected String getStringFroShow(String prefix, boolean debug) {
        return prefix + "popq" + TAB + src.getAddress() + '\n';
    }
}
